package com.wrench.elevator.base.user.dao;

import com.wrench.elevator.base.user.domain.Wallet;

/**
 * @Description: 钱包 
 * @author yangchenfeng
 * @date Oct 17, 2017 1:26:33 PM
 * @version V1.0
 */
public interface WalletDao
{
    /**
     * 注册时添加钱包
     * */
    int addWallet(Wallet wallet);
    
    /**
     * 充值
     * */
    int recharge(double money, int user_id);
    
    /**
     * 消费
     * */
    int consume(double money, int user_id);
    
}
